package com.rayboo.example.design.pattern.facade;

/**
 * 外观模式
 * http://c.biancheng.net/view/1369.html
 */
public class Main {

    public static void main(String[] args) {
        MobilePhone mobilePhone = new MobilePhone();

        mobilePhone.callSomeone("123456");
        mobilePhone.hangup();

        mobilePhone.takePicture();
        mobilePhone.startVideoChat();

        mobilePhone.takePictureByMeitu();
    }
}
